//
//  MSInputAttachView.h
//  MSJD
//
//  Created by xiangbo on 2018/12/10.
//  Copyright © 2018 xiangbo. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, MSCommentPublishType) {
    MSCommentPublishTypeUnknown,
    MSCommentPublishTypeImage,
    MSCommentPublishTypeVideo,
};

@class MSInputAttachView;
@protocol MSInputAttachViewDelegate <NSObject>

- (void)inputAttachView:(MSInputAttachView *)attachview changePublishType:(MSCommentPublishType)type;
- (void)inputAttachView:(MSInputAttachView *)attachview changeHeight:(CGFloat)height;
@end

@interface MSInputAttachView : UIView

@property (nonatomic, strong) NSArray *selectedPhotos;
@property (nonatomic, strong) NSArray *selectedAssets;
@property (weak, nonatomic) id<MSInputAttachViewDelegate> delegate;

@property (assign, nonatomic) CGFloat attachViewHeight;

@end
